<ul id="MainMenu" class="nav">
	<?php 
	foreach ($items as $item) {
		?>
		<li <?php if($item->isActive()){?>class="active"<?php }?> >
			<a href="<?php echo Yii::app()->createUrl($item->path, $item->getParams());?>">
				<?php echo $item->label?>
			</a>
		</li>
	<?php
	}
	?>
</ul>